package cn.lyjuan.dwz_manage.core.base.mapper;

import cn.lyjuan.dwz_manage.core.base.pojo.RolePojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
 
/**
 * Created By pojoutils-V4.0 2016-09-10 15:35:17
 */
public interface IRoleMapper
{
	RolePojo select(@Param("role")RolePojo role);

	RolePojo selectById(@Param("id")int id);

	List<RolePojo> selects(@Param("role")RolePojo role);

	List<RolePojo> selectForPage(@Param("role")RolePojo role, @Param("start")int start, @Param("len")int len);

	int insert(@Param("role")RolePojo role);

	int updateById(@Param("role")RolePojo role);

	int deleteById(@Param("id")int id);



}